 {% autoescape off %} Hi {{ user.username }}, Please click the link to confirm your registration, http://{{ domain }}{% url 'activate' token=token %}. {% endautoescape %}